{{data.message}}

<button
  class="mat-simple-snackbar-action"
  *ngIf="hasAction"
  (click)="action()">{{data.action}}</button>
